package com.infore.common.enums;

public enum DatabaseDriverClass {
    ORACLE("ORACLE", "Oracle数据库", "oracle.jdbc.OracleDriver"),
    MYSQL("MYSQL", "MySQL数据库", "com.mysql.cj.jdbc.Driver"),
    MYSQL5("MYSQL5", "MySQL数据库", "com.mysql.jdbc.Driver");
    /**
     * 数据库名称-英文 oracle
     */
    private String name;
    /**
     * 数据库名称-中文
     */
    private String nameChina;
    /**
     * 驱动类，比如 com.mysql.cj.jdbc.Driver
     */
    private String driverClass;

    DatabaseDriverClass(String name, String nameChina, String driverClass) {
        this.name = name;
        this.nameChina = nameChina;
        this.driverClass = driverClass;
    }

    public String getName() {
        return name;
    }

    public String getNameChina() {
        return nameChina;
    }

    public String getDriverClass() {
        return driverClass;
    }
}
